package com.example.emos.wx.checkin.db.dao;

import com.example.emos.wx.checkin.model.pojo.TbCheckin;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;
@Mapper
public interface TbCheckinDao {
    Integer haveCheckin(HashMap param);

    void insert(TbCheckin entity);

    HashMap searchTodayCheckin(int userId);
    long searchCheckinDays(int userId);
    ArrayList<HashMap> searchWeekCheckin(HashMap param);


    int deleteUserCheckin(int userId);
}